﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleRest.Core.Routing
{
    /// <summary>
    /// Logical representation of route information needed to perform mappings and determine route values.
    /// </summary>
    public class RouteInformation
    {
        public RouteInformation(string routeUrl)
        {
            this.RouteUrl = routeUrl;
        }

        /// <summary>
        /// Route value
        /// </summary>
        public string RouteUrl { get; private set; }
        /// <summary>
        /// Associated route data for route variables.
        /// </summary>
        public IDictionary<string, object> RouteData { get; set; }
    }
}
